package cn.sxjzit.officlal.entity;

import java.util.List;

public class TeacherRoot {
    private int id;
    private String job_title;
    private String job;
    private List<MainRoot> mainRootList;


    public TeacherRoot() {
    }

    public TeacherRoot(int id, String job_title, String job, List<MainRoot> mainRootList) {
        this.id = id;
        this.job_title = job_title;
        this.job = job;
        this.mainRootList = mainRootList;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return job_title
     */
    public String getJob_title() {
        return job_title;
    }

    /**
     * 设置
     * @param job_title
     */
    public void setJob_title(String job_title) {
        this.job_title = job_title;
    }

    /**
     * 获取
     * @return job
     */
    public String getJob() {
        return job;
    }

    /**
     * 设置
     * @param job
     */
    public void setJob(String job) {
        this.job = job;
    }

    /**
     * 获取
     * @return mainList
     */
    public List<MainRoot> getMainList() {
        return mainRootList;
    }

    /**
     * 设置
     * @param mainRootList
     */
    public void setMainList(List<MainRoot> mainRootList) {
        this.mainRootList = mainRootList;
    }

    public String toString() {
        return "Teacher{id = " + id + ", job_title = " + job_title + ", job = " + job + ", mainList = " + mainRootList + "}";
    }
}
